package com.aiex.framework.core.base.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class BaseTreeDTO extends BaseDTO{

    /**
     * 父级id
     */
    private Long parentId;
    /**
     * 子级
     */
    private List<? extends BaseTreeDTO> children ;


}
